import requests
import json

if __name__ == '__main__':
    url = "https://fanyi.baidu.com/sug"
    headers = {
        "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36"
    }
    date = {
        "kw": "insert"
    }
    response = requests.post(url=url, data=date, headers=headers)
    content2 = response.text
    content3 = json.loads(content2)
    print(content3)
